package com.itheima.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {//一个实体类对象对应表中一行数据,属性名称需要与表中字段一一对应,不区分大小写
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Short gender;
    private String image;
    private Short job;
    private Date entrydate;
    private Integer deptId;
    private Date createTime;
    private Date updateTime;
}
